#include<stdio.h>
//int main()
//{
//	int a = 0;
//	int n=5;
//	int s = 2;
//	int sum = 2;
//	scanf_s("%d", &a);
//	for (int i = 2;i <= n;i++)
//	{
//		sum = (sum * 10) + a;
//		s = s + sum;
//	}
//	printf("%d\n", s);
//	return 0;
//}

int main()
{
	int n = 2;
	int j = 1;
	int k = 5;
	for (int b = 1;b <= 6;b++)
	{
		printf(" ");
	}
	printf("*\n");
	while (n <= 7)
	{
		if (n >= 2)
		{
			j = j + 2;
			for (int a = 1;a <= k;a++)
			{
				printf(" ");
			}
			for (int i = 1;i <= j;i++)
			{
				printf("*");
			}
			printf("\n");
		}
		n++;
		k--;
	}
	int n1 = 11;
	int n2 = 1;//6
	while (n2 <= 6)
	{
		for (int i = 1;i <= n2;i++)
			printf(" ");
		for (int j = 1;j <= n1;j++)
			printf("*");
		printf("\n");
		n1=n1 - 2;
		n2++;
	}
	return 0;
}